package org.mytools.domain;

import java.io.Serializable;

import org.mytools.dao.mybatis.MapperDaoTemplate;

public class Blogs extends MapperDaoTemplate<Blogs> implements Serializable {

	private int id;

	private String name;

	private int usersId;

	private Users users;

	private int articlesId;

	private Articles articles;

    public int getId() {
        return this.id;
    }

    public Blogs setId(int id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return this.name;
    }

    public Blogs setName(String name) {
        this.name = name;
        return this;
    }

    public int getUsersId() {
        return this.usersId;
    }

    public Blogs setUsersId(int usersId) {
        this.usersId = usersId;
        return this;
    }
	
	public Users getUsers() {
        return this.users;
    }

    public Blogs setUsers(Users users) {
        this.users = users;
        return this;
    }

    public int getArticlesId() {
        return this.articlesId;
    }

    public Blogs setArticlesId(int articlesId) {
        this.articlesId = articlesId;
        return this;
    }
	
	public Articles getArticles() {
        return this.articles;
    }

    public Blogs setArticles(Articles articles) {
        this.articles = articles;
        return this;
    }

}
